// 查询待阅（分页）
export function queryToBeReadPageList(params) {
  return $http.post(window.RPConfig.task + `readPass/queryToBeReadPageList`, params)
}

// 查询传阅历史（分页）
export function queryReadPassPageList(params) {
  return $http.post(window.RPConfig.task + `readPass/queryReadPassPageList`, params)
}

// 修改成已阅
export const updateToReaded = (params) => $http.post(`${window.RPConfig.task}readPass/updateToReaded`, params)

// 删除传阅
export const deleteUnRead = (params) => $http.post(`${window.RPConfig.task}readPass/delete/${params.id}`, params)

// 发起传阅(多人)
export const startReadPassMore = (params) => $http.post(`${window.RPConfig.task}readPass/startReadPassMore`, params)

// 获取用户、用户组
export const getUserList = (params) => $http.post(`${window.RPConfig.admin}userCenter/userList`, params)
